﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using HPCERP.Model;


namespace HPCERP.Service
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "CompanyService" in code, svc and config file together.
    public class CompanyService : ICompanyService
    {

        //private ERP_ModelContainer ctx = new ERP_ModelContainer("name=ERP_ModelContainer");

        #region ICompanyService Members

        public List<Model.Company> GetList()
        {
            throw new NotImplementedException();
        }

        public void Insert(Model.Company company)
        {
            Bank bank = new Bank();
            bank.Name = "Test Bank";
            
        }

        public void Update(Model.Company company)
        {
            throw new NotImplementedException();
        }

        public void Delete(int id)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
